package com.yiyang.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "Building",description = "楼栋信息")
@TableName("building")
public class Building {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer height;
    private String color;
    @TableField(exist = true,value = "is_delete")
    private Integer isDelete;
    @TableField(exist = true,value = "create_time")
    private Date createTime;
}
